package com.ruoyi.worker.service.impl;

import com.ruoyi.worker.domain.TermAttendanceGroupV2;
import com.ruoyi.worker.mapper.TermAttendanceGroupV2Mapper;
import com.ruoyi.worker.service.TermAttendanceGroupV2Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TermAttendanceGroupV2ServiceImpl implements TermAttendanceGroupV2Service {

    @Resource
    private TermAttendanceGroupV2Mapper mapper;


    @Override
    public void add(TermAttendanceGroupV2 info) {
        mapper.addOne(info);
    }

    @Override
    public void multiDel(List<Integer> ids) {
        mapper.multiDel(ids);
    }

    @Override
    public void update(TermAttendanceGroupV2 info) {
        mapper.update(info);
    }

    @Override
    public void changeStatus(TermAttendanceGroupV2 info) {
        mapper.changeStatus(info);
    }

    @Override
    public TermAttendanceGroupV2 queryOne(Integer id) {
        return mapper.detail(id);
    }

    @Override
    public List<TermAttendanceGroupV2> records(TermAttendanceGroupV2 info) {
        return mapper.records(info);
    }

    @Override
    public List<TermAttendanceGroupV2> options() {
        return mapper.options();
    }
}
